package com.linkwechat.wecom.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 企微客服接待人员对象 wework_kf_servicer
 * 
 * @author ruoyi
 * @date 2022-02-18
 */
@ApiModel
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("wework_kf_servicer")
public class WeworkKfServicer implements Serializable {

private static final long serialVersionUID=1L;


    /** ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /** 企微用户ID */
    @ApiModelProperty("企微用户ID")
    @TableField(value = "userid")
    private String userid;

    /** 客服账号ID */
    @ApiModelProperty("客服账号ID")
    @TableField(value = "open_kfid")
    private String openKfid;

    /** 创建时间 */
    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    /** 更新时间 */
    @ApiModelProperty("更新时间")
    @TableField(value = "update_time")
    private Date updateTime;

    /** 企微用户ID */
    @ApiModelProperty("企微用户ID")
    @TableField(value = "status")
    private Integer status;

    /** 是否激活 */
    @ApiModelProperty("是否激活")
    @TableField(value = "is_activate")
    private Integer isActivate;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
